package com.zhuxulin.parsemid.event;

public abstract class BaseMidiEvent implements Comparable<BaseMidiEvent> {
	private int tick = 0;
	private int delta = 0;

	public BaseMidiEvent(int tick, int delta) {
		this.tick = tick;
		this.delta = delta;
	}

	public int getTick() {
		return tick;
	}

	public void setTick(int tick) {
		this.tick = tick;
	}

	public int getDelta() {
		return delta;
	}

	public void setDelta(int delta) {
		this.delta = delta;
	}

	public abstract byte[] getCmdBytes();
}
